package com.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO {

    private String id;
    private String name;
    private String login_name;
    private String password;
    private String email;
    private String phone;

    @ApiModelProperty("角色ID")
    @JsonProperty("role_id")
    private List roleId;
    //状态
    private Integer status;
    //页面
    private Integer page;
    //当前页数量
    private Integer limit;
}
